package funcation;

public class Demo10 {
  public static void main(String args[]){
	  int i = jiecheng(5);
	  System.out.println(i);
  }
  
  public static int jiecheng(int m){
      if(m==1)return 1;
      else return m*jiecheng(m-1);
  }
}
